package com.atgm.mall.gmmailware.service;

import com.atgm.mall.gmmailware.entity.WareGameEntity;
import com.atgm.mall.gmmailware.vo.req.WareGameItemVo;
import com.atgm.mall.gmmailware.vo.req.WareGameReqVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface WareGameService extends IService<WareGameEntity> {

    /**
     * 锁定库存
     * @param wareGameReqVo
     */
    void lockOrderInfo(WareGameReqVo wareGameReqVo);

    /**
     * 解锁库存
     * @param orderSn
     */
    void unlockOrderInfo(String orderSn);
}
